from multiprocessing import Process
from time import sleep


def run():
    print("子进程进行。。")
    sleep(1)
    print("子进程结束。。")


if __name__ == "__main__":
    print("父进程。。。")
    p = Process(target=run)
    p.start()
    print("父进程结束。。。")
